import wx.stc as stc
import wx
import os

# 笔记类对象
class BOOK:
    M_IMAGE_CLASS 		= None # 
    M_MEDIA_CLASS 		= None #
    M_TABLE_CLASS 		= None #
    M_NULL_CLASS 		= None # 
    M_TEXT_CLASS  		= None # 
    M_PROGRAMME_CLASS 	= None # 
    def __new__(
    	cls,
        img=None,
        media=None,
    	table=None,
    	null=None,
    	text=None,
    	_stc=None
    	):
        cls.M_IMAGE_CLASS = img
        cls.M_MEDIA_CLASS = media
        cls.M_TABLE_CLASS = table
        cls.M_NULL_CLASS = null
        cls.M_TEXT_CLASS = text
        cls.M_PROGRAMME_CLASS = _stc
        return cls
        
        
        




# 笔记type
TEXT_TYPE_PY		= stc.STC_LEX_PYTHON
TEXT_TYPE_GO		= stc.STC_LEX_CPP
TEXT_TYPE_LUA		= stc.STC_LEX_LUA
TEXT_TYPE_RUST		= stc.STC_LEX_RUST
TEXT_TYPE_CONF		= stc.STC_LEX_CONF
TEXT_TYPE_YAML		= stc.STC_LEX_YAML
TEXT_TYPE_JSON		= stc.STC_LEX_JSON
TEXT_TYPE_CSS		= stc.STC_LEX_CSS
TEXT_TYPE_HTML		= stc.STC_LEX_HTML
TEXT_TYPE_XML		= stc.STC_LEX_XML
TEXT_TYPE_XLSX		= 62
TEXT_TYPE_CSV		= 63
MEDIA_TYPE_MP3		= 64
MEDIA_TYPE_MP4		= 65
MEDIA_TYPE_WAV		= 66
MEDIA_TYPE_WMA		= 67
MEDIA_TYPE_FLAC		= 68
MEDIA_TYPE_TS		= 69
MEDIA_TYPE_AAC		= 70
MEDIA_TYPE_AVI		= 71
MEDIA_TYPE_FLV		= 72
MEDIA_TYPE_M4A		= 73
MEDIA_TYPE_MPEG		= 74
MEDIA_TYPE_MPE 		= 75
MEDIA_TYPE_OGG		= 76
MEDIA_TYPE_MOV		= 77
IMAGE_TYPE_JPEG		= wx.BITMAP_TYPE_JPEG
IMAGE_TYPE_PNG		= wx.BITMAP_TYPE_PNG
IMAGE_TYPE_BMP		= wx.BITMAP_TYPE_BMP
IMAGE_TYPE_GIF		= wx.BITMAP_TYPE_GIF
IMAGE_TYPE_ICO		= wx.BITMAP_TYPE_ICO
IMAGE_TYPE_PCX		= wx.BITMAP_TYPE_PCX
IMAGE_TYPE_PNM		= wx.BITMAP_TYPE_PNM
IMAGE_TYPE_TIFF		= wx.BITMAP_TYPE_TIFF
IMAGE_TYPE_TGA		= wx.BITMAP_TYPE_TGA
IMAGE_TYPE_XPM		= wx.BITMAP_TYPE_XPM
IMAGE_TYPE_CUR		= wx.BITMAP_TYPE_CUR
IMAGE_TYPE_ANI		= wx.BITMAP_TYPE_ANI
TYPE_NULL			= 78
